package com.cxria.pattern.bridge

def house = new House()

println '房产公司是这样运行的'
def houseCorp = new HouseCorp(house)
houseCorp.makeMoney()

println '山寨公司是这样运行的'
def shanzhaiCorp = new ShanzhaiCorp(new IPod())
shanzhaiCorp.makeMoney()